﻿using System;

namespace UmengSocial
{
    public enum UMSNumberType : uint
    {
        Like = 0,
        Share,
        Comment
    }

    public enum UMSocialUrlResourceType : uint
    {
        Default,
        Image,
        Video,
        Music
    }

    public enum UMSocialWXMessageType : uint
    {
        None,
        Text,
        Image,
        App,
        Web,
        Music,
        Video,
        Emotion,
        Other
    }

    public enum UMSocialYXMessageType : uint
    {
        None,
        Text,
        Image,
        App,
        Web,
        Music,
        Video
    }

    public enum UMSocialQQMessageType : uint
    {
        Default,
        Image
    }

    public enum UMSResponseCode : uint
    {
        esponseCodeSuccess = 200,
        EsponseCodeTokenInvalid = 400,
        esponseCodeBaned = 505,
        esponseCodeFaild = 510,
        esponseCodeArgumentsError = 522,
        esponseCodeEmptyContent = 5007,
        esponseCodeShareRepeated = 5016,
        esponseCodeGetNoUidFromOauth = 5020,
        esponseCodeAccessTokenExpired = 5027,
        esponseCodeNetworkError = 5050,
        esponseCodeGetProfileFailed = 5051,
        esponseCodeCancel = 5052,
        esponseCodeNotLogin = 5053,
        esponseCodeNoApiAuthority = 100031
    }

    public enum UMSResponse : uint
    {
        AddComment = 0,
        AddLike = 1,
        GetCommentList = 2,
        GetSocialData = 3,
        ShareToSNS = 4,
        ShareToMutilSNS = 5,
        Binding = 6,
        UnBinding = 7,
        UnOauth = 8,
        Oauth = 9,
        GetAccount = 10,
        GetSnsInfo = 11,
        GetFriends = 12,
        AddFollow = 13,
        AddCustomAccount = 14,
        AddSnsAccount = 15,
        GetAppInfo = 16,
        IsTokenValid = 17,
        Analytics = 18,
        AddAppInfo = 19
    }

    public enum UMSViewControllerType : uint
    {
        CommentList,
        CommentEdit,
        ShareList,
        ShareEdit,
        Account,
        SnsAccount,
        LoginAccount,
        Oauth,
        Login,
        FriendList,
        ActionSheet
    }

    public enum UMSocialSnsType : uint
    {
        None = 0,
        Qzone = 10,
        Sina,
        Tenc,
        Renr,
        Douban,
        WechatSession,
        WechatTimeline,
        WechatFavorite,
        Email,
        Sms,
        MobileQQ,
        Facebook,
        Twitter,
        YiXinSession,
        YiXinTimeline,
        LaiWangSession,
        LaiWangTimeline,
        Instagram,
        WhatsApp,
        Line,
        Tumblr,
        KakaoTalk,
        Flickr,
        Pinterest,
        New
    }

    public enum UMSocialiToastPosition : uint
    {
        Top = 1000001,
        Bottom,
        Center
    }

    public enum UMSocialTheme : uint
    {
        Black,
        White
    }

    public enum WXErrCode
    {
        Success = 0,
        ErrCodeCommon = -1,
        ErrCodeUserCancel = -2,
        ErrCodeSentFail = -3,
        ErrCodeAuthDeny = -4,
        ErrCodeUnsupport = -5
    }

    public enum WXScene : uint
    {
        Session = 0,
        Timeline = 1,
        Favorite = 2
    }

    public enum WXAPISupport : uint
    {
        WXAPISupportSession = 0
    }

    public enum WXBizProfileType : uint
    {
        Normal = 0,
        Device = 1
    }

    public enum WXMPWebviewType : uint
    {
        WXMPWebviewType_Ad = 0
    }

    public enum QQApiSendResultCode
    {
        Sendsucess = 0,
        Qqnotinstalled = 1,
        Qqnotsupportapi = 2,
        Messagetypeinvalid = 3,
        Messagecontentnull = 4,
        Messagecontentinvalid = 5,
        Appnotregisted = 6,
        Appshareasync = 7,
        QqnotsupportapiWithErrorshow = 8,
        Sendfaild = -1,
        Qzonenotsupporttext = 10000,
        Qzonenotsupportimage = 10001
    }

    public enum kQQAPICtrlFlagQ : uint
    {
        ZoneShareOnStart = 1,
        ZoneShareForbid = 2,
        QShare = 4,
        QShareFavorites = 8,
        QShareDataline = 16
    }

    public enum QQApiURLTargetType : uint
    {
        NotSpecified = 0,
        Audio = 1,
        Video = 2,
        News = 3
    }

    public enum QQApiInterfaceReqType : uint
    {
        Getmessagefromqqreqtype = 0,
        Sendmessagetoqqreqtype = 1,
        Showmessagefromqqreqtype = 2
    }

    public enum QQApiInterfaceRespType : uint
    {
        Showmessagefromqqresptype = 0,
        Getmessagefromqqresptype = 1,
        Sendmessagetoqqresptype = 2
    }

    public enum TCOLogLevel
    {
        Disabled = -1,
        Error = 0,
        Warning,
        Info,
        Debug
    }

    public enum QQVersion : uint
    {
        Uninstall,
        Version3_0,
        Version4_0,
        Version4_2_1,
        Version4_5,
        Version4_6,
        Version4_7
    }

    public enum ReponseResult : uint
    {
        Succeed = 0,
        Failed = 1
    }

    public enum UpdateFailType : uint
    {
        Unknown = 1,
        UserCancel,
        Network
    }

    public enum OpenSDKError
    {
        Invalid = -1,
        ErrorUnsupportedAPI = -2,
        ErrorSuccess = 0,
        ErrorUnknown,
        ErrorUserCancel,
        ErrorReLogin,
        ErrorOperationDeny,
        ErrorNetwork,
        ErrorURL,
        ErrorDataParse,
        ErrorParam,
        ErrorConnTimeout,
        ErrorSecurity,
        ErrorIO,
        ErrorServer,
        ErrorWebPage,
        ErrorUserHeadPicLarge = 65536
    }

    public enum TencentAuthorizeState : uint
    {
        NotAuthorizeState,
        SSOAuthorizeState,
        WebviewAuthorzieState
    }

    public enum TencentAuthMode : uint
    {
        ClientSideToken,
        ServerSideCode
    }

}

